package com.google.code.bigyang.filter;

import com.google.code.bigyang.base.Session;

public interface Filter {

	public void init();
	
	public void destroy();
	
	public void messageReceived(NextFilter nextFilter, Session session,Object message) throws Exception;
	
    public void messageSent(NextFilter nextFilter, Session session,Object message) throws Exception;
    
}
